package com.example.propertymangesystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.propertymangesystem.domain.employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

@Mapper
public interface employeeMapper extends BaseMapper<employee> {
    @Select("select *from employee where did = #{did}")
    List<employee> getDepartmentAll(Integer did);
}
